scikit-learn: OneVsRestClassifier
One-vs-the-rest (OvR) multiclass strategy.
Also known as one-vs-all, this strategy consists in fitting one classifier per class.
「クラスごとに1つの分類器を訓練する」
OneVsRestClassifier can also be used for multilabel classification.
the target labels should be formatted as a 2D binary (0/1) matrix, where [i, j] == 1 indicates the presence of label j in sample i.
「目的ラベルは2次のバイナリ(0/1)の行列として整形されるべき」
「[i, j] == 1は、サンプルiのラベルjが存在することを示す」
([i, j] == 1:サンプルiにラベルjが付与されている。0だと付与されていない)